package com.alibaba.dubbo.provider.impl;


import com.alibaba.common.api.entity.UserInfo;
import com.alibaba.common.api.service.INacosServiceTest;
import org.apache.dubbo.config.annotation.Service;

/**
 * @Author HeBiao
 * @Date 2021/7/2 18:37
 * @Description
 */
@Service(version = "1.0.0",group = "demo")
public class INacosServiceTestImpl implements INacosServiceTest {

    @Override
    public UserInfo getUserInfo() {
        UserInfo userInfo = new UserInfo("张三", 0, 25);
        return userInfo;
    }
}
